<?
class fetch {
	// Array of pathes for extended classes
	private $classes;
	// Array
	public $time;
	// Data in bytes
	public $tranfered_data;
	// View mode
	public $view;
	
	function __construct () {
		// Required includes
		require_once("mysql.php");
		require_once("classes/time.class.php");
		
		// Master timer
		$this->time['main'] = new timer;
	}
	
	// Add extention to class
	// Will be exe at setup func
	function add_extend_class ($name) {
		$path = "classes/".$name.".class.php";
		if(file_exists($path))
		{
			$classes[] = $name;
		}
	}
	
	function setup () {
		// Determent Console or webpage
		
		
		// Include functions
		foreach {
			require_once("classes/extend.".$class.".class.php");
		}
	}
	
	// Console
}
?>